Make MAX_VIRT_CPUS arch-dep
#define _MEMORY_PADDING(_X)
#define MEMORY_PADDING
+/* Maximum number of virtual CPUs in multi-processor guests. */
+/* WARNING: before changing this, check that shared_info fits on a page */
+#define MAX_VIRT_CPUS 1
+
#ifndef __ASSEMBLY__
/* NB. Both the following are 64 bits each. */
#define machine_to_phys_mapping ((u32 *)HYPERVISOR_VIRT_START)
#endif
+/* Maximum number of virtual CPUs in multi-processor guests. */
+#define MAX_VIRT_CPUS 32
+
#ifndef __ASSEMBLY__
/* NB. Both the following are 32 bits each. */
#define HYPERVISOR_VIRT_END (0xFFFF880000000000UL)
#endif
+/* Maximum number of virtual CPUs in multi-processor guests. */
+#define MAX_VIRT_CPUS 32
+
#ifndef __ASSEMBLY__
/* The machine->physical mapping table starts at this address, read-only. */
/* Event channel endpoints per domain. */
#define NR_EVENT_CHANNELS 1024
-/* Support for multi-processor guests. */
-#define MAX_VIRT_CPUS 32
-
/*
* Per-VCPU information goes here. This will be cleaned up more when Xen
* actually supports multi-VCPU guests.